package com.xtkj.accountjava.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName(value = "sys_user_account")
public class UserAccountEntity implements Serializable {

    @TableId(type = IdType.AUTO)
    private Long id;
    private Long userId;
    private Long accountBookId;
    private Long accountCategoryId;
    private Date createTime;
    private Date modifyTime;
    private Long userAcbookId;
    private Long acbookType;
    private String remark;
    private String money;
    private Date moneyTime;
    private Long isDelete;

    @TableField(exist = false)
    private  AccountBookEntity accountBook;
    @TableField(exist = false)
    private  AccountCategoryEntity accountCategory;

//    @TableField(exist = false)
//    private  UserAccountBookEntity userAccountBook;
}
